﻿<UserControl    
             xmlns:my1="clr-namespace:VAdvantage.Controls"  xmlns:my="clr-namespace:VAdvantage.Apps"  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="VAdvantage.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:desktop="clr-namespace:SilverlightDesktop.Controls;assembly=SilverlightDesktop"         
    xmlns:framework="clr-namespace:VAdvantage.Framework"     
    mc:Ignorable="d" d:DesignWidth="584" d:DesignHeight="307">

    <Grid x:Name="LayoutRoot" Background="#FF2690d2" >
        <Grid.Resources>
            <Storyboard x:Name="Login">
                <DoubleAnimation Storyboard.TargetName="LoginPage" Storyboard.TargetProperty="Opacity"
                                                 From="1" To="0" Duration="0:0:3"/>
                <!--<DoubleAnimation Storyboard.TargetName="LoginPage" Storyboard.TargetProperty="Width"
                                                 To="0" Duration="0:0:3"/>
                <DoubleAnimation Storyboard.TargetName="LoginPage" Storyboard.TargetProperty="Height"
                                                 To="0" Duration="0:0:3"/>-->
            </Storyboard>
            <Storyboard x:Name="Explorer">
                <DoubleAnimation Storyboard.TargetName="desktop"  Storyboard.TargetProperty="Opacity" From=".7" To="1" Duration="0:0:4"/>
            </Storyboard>
        </Grid.Resources>
       
        <desktop:Explorer Name="desktop"  IsEnabled="False"  Opacity=".7" Visibility="Visible"  WallPaper="/Vadvantage;component/Images/bg.jpg" >
            <!--<desktop:Explorer.Effect>
                <BlurEffect Radius="5" ></BlurEffect>
                
            </desktop:Explorer.Effect>-->
            <!--<desktop:Explorer.DesktopShortCutsBottom>
                <desktop:DesktopShortcut ActionName="Calender"  Visibility="Collapsed" ShortcutName="Cal.." Icon="Images/icalendar.png" DoubleClick="DesktopShortcut_DoubleClick" ></desktop:DesktopShortcut>
                <desktop:DesktopShortcut ActionName="Preference" ShortcutName="Pref.." Icon="Images/ipreference.png" DoubleClick="DesktopShortcut_DoubleClick" ></desktop:DesktopShortcut>
                <desktop:DesktopShortcut ActionName="DashBoard"  ShortcutName="Dashb.." Icon="Images/idashboard.png" DoubleClick="DesktopShortcut_DoubleClick" ></desktop:DesktopShortcut>
                <desktop:DesktopShortcut ActionName="RoleCenter"  ShortcutName="Role C.." Icon="Images/idashboard.png" DoubleClick="DesktopShortcut_DoubleClick" ></desktop:DesktopShortcut>
                <desktop:DesktopShortcut ActionName="EMail"  ShortcutName="Mails" Icon="Images/imail.png" DoubleClick="DesktopShortcut_DoubleClick" ></desktop:DesktopShortcut>
                <desktop:DesktopShortcut ActionName="InfoForm"   ShortcutName="InfoWin.." Icon="Images/Info32.png" DoubleClick="DesktopShortcut_DoubleClick" ></desktop:DesktopShortcut>
            </desktop:Explorer.DesktopShortCutsBottom>-->
        </desktop:Explorer>
        
        <!--<Grid>
            <Grid.bac
            
            
        </Grid>-->
        
        <framework:VLogin x:Name="LoginPage" />
        
        <Button Name="Test" Content="Test" Visibility="Collapsed"  HorizontalAlignment="Center"  VerticalAlignment="Bottom"  Width="30" Height="20" Click="Test_Click" />
  
        <toolkit:BusyIndicator Style="{StaticResource RoundBusyIndicator}" Canvas.ZIndex="1" x:Name="BusyWindow" Height="61" VerticalAlignment="Center" HorizontalAlignment="Center" Width="153" IsBusy="False" IsEnabled="True" BusyContent="Please Wait..." />
    </Grid>
</UserControl>
